package com.firefightingiot.firefightingiot.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.firefightingiot.firefightingiot.common.base.BasisEntity;

/**
 * @Author: YangYu
 * @ClassName: SosAddressBook
 * @Date: Created in 09:11 2023/7/27
 * @Description: sos设备通讯录
 */
@TableName("firelink_device.sos_address_book")
public class SosAddressBook extends BasisEntity {

    /**
     * 主键
     */
    public String id;
    /**
     * 设备编号
     */
    public String number;
    /**
     * 名称
     */
    public String name;
    /**
     * 手机号
     */
    public String phone;
    /**
     * 按键位  按键1 按键2 按键3
     */
    public Integer pressKey;
    /**
     * 类型  1亲情号  2紧急号
     */
    public Integer type;

    public String getId() {
        return this.getString("id");
    }

    public void setId(String id) {
        this.put("id",id);
    }

    public String getNumber() {
        return this.getString("number");
    }

    public void setNumber(String number) {
        this.put("number",number);
    }

    public String getName() {
        return this.getString("name");
    }

    public void setName(String name) {
        this.put("name",name);
    }

    public String getPhone() {
        return this.getString("phone");
    }

    public void setPhone(String phone) {
        this.put("phone",phone);
    }

    public Integer getPressKey() {
        return this.getInteger("pressKey");
    }

    public void setPressKey(Integer pressKey) {
        this.put("pressKey",pressKey);
    }

    public Integer getType() {
        return this.getInteger("type");
    }

    public void setType(Integer type) {
        this.put("type",type);
    }
}
